<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title><!--地服业务手册--></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
     <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-box.css">
	<link rel="stylesheet" href="css/project/style.css">
	<link rel="stylesheet" href="css/zv_common.css">
    <script src="js/zy_control.js"></script>
	<script src="js/zy_click.js"></script>
	<script src="js/zy_json.js"></script>
	<script src="js/main.js"></script>
	<script src="js/init.js"></script>
	<script src="js/talkingdata.js"></script>
	<style>
	.zv_noticebo{  border-bottom:1px solid #e5e5e5;}
	.zv_noticefont1{height:2.2em;line-height:2.2em;color:#4C4C4C; font-size:0.925em; overflow:hidden;white-space:nowrap; text-overflow:ellipsis;}
	.zv_noticefont3{height:2.2em;line-height:2.2em;color:#a3a3a3;font-size:0.925em; width:6em;}
	</style>
</head>
<body class="ub um-vp c-wh2 ub-ver" ontouchstart>
	<div id="time_0" style="width:6em"></div>
<div id="page_0" class="up ub ub-ver" tabindex="0" >
		<div  id="noticeList">
			
		</div>
		<div id="exit" style="display:none;">
			<div style="height:0.5em"> </div>
			<div ontouchstart="zy_touch(\'zv-btn-act\')" class="zvbtn  c-blu1  t-wh tx-c uc-a1 zvbtnpadding"  onclick="exit()" >下一页</div>
			<div style="height:0.5em"> </div>
		</div>	
		<input type="hidden" id="pageNum" value="1">
	</div>   
</body>
<script>
zy_init();

window.uexOnload = function(type){
	if (!type) {
		 Loading(0);
		uexWindow.setBounce("0");
		IC.talkingDataCount("地服业务手册","0011");
		 uexEMM.setEvent("1","{'地服业务手册':'业务手册列表'}");
		//checkUserRole(ZV_EMPLOYEE_NUMBER,'BTN_0_21',function(){noticeList(0,20);});
		noticeList(0,20);
		//noticeList(0,20)
	}
}	
function exit(){
	IC.talkingDataCount("地服业务手册","0011");
	Loading(0);
	var pageNum = $$("pageNum").value;
	var nextPageNum = parseInt(pageNum)+1;
	$$("pageNum").value=nextPageNum;
	var exitval=nextPageNum*20
	noticeList(0,exitval)
}
function noticeList(startPage,pageNum){
	var wsdl =  operations_list_url
    var nameSpace = operations_list_nameSpace 
	var paras = "startPage|pageNum";
	var values =startPage + '|' + pageNum;
	var method =  operations_list_function
	currentJosn(wsdl,nameSpace,paras,values,method);	
}
function returnjson(currentJosnStr){
			IC.talkingDataCount("地服业务手册","0011");
			var w = document.body.offsetWidth;
			var zv_noticefont3w = document.getElementById("time_0").offsetWidth;
			var titleW = w-zv_noticefont3w;
			
		    var  obj = currentJosnStr;
			obj = strToJson(obj);
		    var objdata = obj[0].data;
			var strx = "";		
			for(var i=0;i<objdata.length;i++)	
			 {
			 		var PublicTime = objdata[i].PublicTime;
					var a = PublicTime.split(" ");
					var PublicTime = a[0];
					var time = PublicTime.split("/");
					var year=time[0]
					var month=time[1]
					if(month<10)
					{
						month=0+''+month
					}
					var date=time[2]
					if(date<10)
					{
						date=0+''+date
					}
					PublicTime=year+'/'+month+'/'+date
					strx += '<div class="ub uinn umh2 zv_noticebo" ontouchstart="zy_touch(\'zvbtn-act\')" onclick=openUrl("'+objdata[i].id+'")>'
					strx += '<div class="ub-f2  ub ub-ver">'
    				strx += '<div class=" zv_noticefont1"  style="width:'+titleW+'px">'+objdata[i].Title+'</div>'
        			strx += '</div>'
   					strx += '<div class="ub-f1  tx-r  ulev-1 zv_noticefont3">'+PublicTime+'</div>'
    				strx += '</div>'
			 }
			  Loading(-1);
			//  $$('noticeList').appendChild(strx);
			 $$("noticeList").innerHTML=strx;
			var pageNum = $$("pageNum").value
			var exitval=pageNum*20
			if(objdata.length!=exitval)
			{		
				$$("exit").style.display = "none";   
			}
			else
			{		
				$$("exit").style.display = "block";   
			}
			
}
function openUrl(Id)
{
	IC.talkingDataCount("地服业务手册","0011");
	Loading(0);
	uexEMM.setEvent("1","{'地服业务手册':'业务手册详情'}");
	var wsdl = operations_content_url
    var nameSpace =operations_content_nameSpace
	var paras = "id";
	var values =Id; 
	var method = operations_content_function
	contentJosn(wsdl,nameSpace,paras,values,method,"operations_manual_detail","operations_manual_detail.html");
}
</script>
</html>
